package com.treasure.mall.zbq.common.ienum.auth;


import com.treasure.mall.zbq.common.ienum.base.CodeDescCommonEnum;

/**
 * @author allan
 * @date 2018-07-22
 */
public enum ManagerRoleEnum implements CodeDescCommonEnum {

    /**
     * 管理员
     */
    MANAGER(0, "管理员"),
    /**
     * 系统用户
     */
    OPERATOR(1, "操作员");

    private Integer code;
    private String desc;

    ManagerRoleEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
